import SELF from "../main";
import axios from "./axios";
const baseUrl = process.env.VUE_APP_CHATBASEURL;

export default {
  get(url, config = {}) {
    return axios.get(baseUrl + url, config);
  },
  post(url, params = {}, headers = {}) {
    return axios.post(baseUrl + url, params, headers);
  }
};
